/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.docdata.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.docdata.entity.EDocument;
import com.thinkgem.jeesite.modules.docdata.dao.EDocumentDao;

/**
 * 公文操作Service
 * @author 公文操作
 * @version 2018-01-21
 */
@Service
@Transactional(readOnly = true)
public class EDocumentService extends CrudService<EDocumentDao, EDocument> {

	public EDocument get(String id) {
		return super.get(id);
	}
	
	public List<EDocument> findList(EDocument eDocument) {
		return super.findList(eDocument);
	}
	
	public Page<EDocument> findPage(Page<EDocument> page, EDocument eDocument) {
		return super.findPage(page, eDocument);
	}
	
	@Transactional(readOnly = false)
	public void save(EDocument eDocument) {
		super.save(eDocument);
	}
	
	@Transactional(readOnly = false)
	public void delete(EDocument eDocument) {
		super.delete(eDocument);
	}
	
}